package com.briup.dao;

import com.briup.bean.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ICategoryDao{
    List<Category> findByParentIdIsNull();
    List<Category> findByParentId(long id);
}
